/*
 * JPanelWizardLibreSelectConfigFinish.java
 *
 * Created on 13-oct-2011, 14:55:32
 */
package com.ufps.cuatro.vistas.asistente.libre.wizard;

import java.awt.event.ActionListener;
import javax.swing.JCheckBox;
import javax.swing.JRadioButton;

/**
 *
 * @author Carlos A. Torres C. 
 */
public class JPanelWizardLibreSelectConfigFinish extends javax.swing.JPanel {
    private static final long serialVersionUID = 697987061790548328L;

    /** Creates new form JPanelWizardLibreSelectConfigFinish */
    public JPanelWizardLibreSelectConfigFinish() {
        initComponents();
    }    
    
    public void addCheckBoxActionListener(ActionListener l) {
        jCheckBoxConfirmar.addActionListener(l);
    }
    
    public boolean isCheckBoxSelected() {
        return jCheckBoxConfirmar.isSelected();
    }

    public JCheckBox getjCheckBoxAddLib() {
        return jCheckBoxAddLib;
    }

    public JRadioButton getjRadioButtonHorizontal() {
        return jRadioButtonHorizontal;
    }

    public JRadioButton getjRadioButtonVertical() {
        return jRadioButtonVertical;
    }

    public JRadioButton getjRadioButtonDialog() {
        return jRadioButtonDialog;
    }

    public JRadioButton getjRadioButtonFrame() {
        return jRadioButtonFrame;
    }

    public JRadioButton getjRadioButtonPanel() {
        return jRadioButtonPanel;
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        buttonGroup1 = new javax.swing.ButtonGroup();
        buttonGroup2 = new javax.swing.ButtonGroup();
        jSeparator1 = new javax.swing.JSeparator();
        jCheckBoxConfirmar = new javax.swing.JCheckBox();
        jRadioButtonVertical = new javax.swing.JRadioButton();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jRadioButtonHorizontal = new javax.swing.JRadioButton();
        jCheckBoxAddLib = new javax.swing.JCheckBox();
        jLabel3 = new javax.swing.JLabel();
        jRadioButtonPanel = new javax.swing.JRadioButton();
        jRadioButtonFrame = new javax.swing.JRadioButton();
        jRadioButtonDialog = new javax.swing.JRadioButton();

        setName("Form"); // NOI18N

        jSeparator1.setName("jSeparator1"); // NOI18N

        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance().getContext().getResourceMap(JPanelWizardLibreSelectConfigFinish.class);
        jCheckBoxConfirmar.setText(resourceMap.getString("jCheckBoxConfirmar.text")); // NOI18N
        jCheckBoxConfirmar.setName("jCheckBoxConfirmar"); // NOI18N

        buttonGroup1.add(jRadioButtonVertical);
        jRadioButtonVertical.setText(resourceMap.getString("jRadioButtonVertical.text")); // NOI18N
        jRadioButtonVertical.setName("jRadioButtonVertical"); // NOI18N

        jLabel1.setBackground(resourceMap.getColor("jLabel1.background")); // NOI18N
        jLabel1.setText(resourceMap.getString("jLabel1.text")); // NOI18N
        jLabel1.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        jLabel1.setName("jLabel1"); // NOI18N
        jLabel1.setOpaque(true);

        jLabel2.setText(resourceMap.getString("jLabel2.text")); // NOI18N
        jLabel2.setName("jLabel2"); // NOI18N

        buttonGroup1.add(jRadioButtonHorizontal);
        jRadioButtonHorizontal.setSelected(true);
        jRadioButtonHorizontal.setText(resourceMap.getString("jRadioButtonHorizontal.text")); // NOI18N
        jRadioButtonHorizontal.setName("jRadioButtonHorizontal"); // NOI18N

        jCheckBoxAddLib.setText(resourceMap.getString("jCheckBoxAddLib.text")); // NOI18N
        jCheckBoxAddLib.setName("jCheckBoxAddLib"); // NOI18N

        jLabel3.setText(resourceMap.getString("jLabel3.text")); // NOI18N
        jLabel3.setName("jLabel3"); // NOI18N

        buttonGroup2.add(jRadioButtonPanel);
        jRadioButtonPanel.setSelected(true);
        jRadioButtonPanel.setText(resourceMap.getString("jRadioButtonPanel.text")); // NOI18N
        jRadioButtonPanel.setName("jRadioButtonPanel"); // NOI18N

        buttonGroup2.add(jRadioButtonFrame);
        jRadioButtonFrame.setText(resourceMap.getString("jRadioButtonFrame.text")); // NOI18N
        jRadioButtonFrame.setName("jRadioButtonFrame"); // NOI18N

        buttonGroup2.add(jRadioButtonDialog);
        jRadioButtonDialog.setText(resourceMap.getString("jRadioButtonDialog.text")); // NOI18N
        jRadioButtonDialog.setName("jRadioButtonDialog"); // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 400, Short.MAX_VALUE)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jRadioButtonHorizontal)
                    .addComponent(jRadioButtonVertical)
                    .addComponent(jLabel2))
                .addContainerGap(237, Short.MAX_VALUE))
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jCheckBoxConfirmar, javax.swing.GroupLayout.DEFAULT_SIZE, 380, Short.MAX_VALUE)
                    .addComponent(jSeparator1, javax.swing.GroupLayout.DEFAULT_SIZE, 380, Short.MAX_VALUE)
                    .addComponent(jCheckBoxAddLib, javax.swing.GroupLayout.DEFAULT_SIZE, 380, Short.MAX_VALUE))
                .addContainerGap())
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jRadioButtonDialog)
                    .addComponent(jRadioButtonFrame)
                    .addComponent(jRadioButtonPanel)
                    .addComponent(jLabel3))
                .addContainerGap(151, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel2)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jRadioButtonVertical)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jRadioButtonHorizontal)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel3)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jRadioButtonPanel)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jRadioButtonFrame)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jRadioButtonDialog)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 15, Short.MAX_VALUE)
                .addComponent(jCheckBoxAddLib)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jCheckBoxConfirmar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(9, 9, 9))
        );
    }// </editor-fold>//GEN-END:initComponents
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.ButtonGroup buttonGroup1;
    private javax.swing.ButtonGroup buttonGroup2;
    private javax.swing.JCheckBox jCheckBoxAddLib;
    private javax.swing.JCheckBox jCheckBoxConfirmar;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JRadioButton jRadioButtonDialog;
    private javax.swing.JRadioButton jRadioButtonFrame;
    private javax.swing.JRadioButton jRadioButtonHorizontal;
    private javax.swing.JRadioButton jRadioButtonPanel;
    private javax.swing.JRadioButton jRadioButtonVertical;
    private javax.swing.JSeparator jSeparator1;
    // End of variables declaration//GEN-END:variables
}
